<?php

namespace server;

interface RoleInterface
{
    public function getRoleList();

    public function getPermissionList();

    public function assign(array $data);

    public function getRolesByUser($user_id);

    public function getChildRolePermission($name);


}
